package com.example.riskmanage.dao;


import com.example.riskmanage.bean.NHistorylist;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NHistorylistDao extends JpaRepository<NHistorylist,Integer> {

    /**
     * 通过uid查找所有historylist集合
     * @param uid
     * @return
     */
    List<NHistorylist> findAllByUid(Integer uid);



}
